package com.weishi.project.api.vo;

import com.weishi.project.training.domain.Sportsman;
import com.weishi.project.training.domain.SportsmanPhysicalQuality;
import lombok.Data;

@Data
public class SportsmanAllVo {

    private SportsmanPhysicalQuality sportsmanPhysicalQuality;
    private Sportsman sportsman;

    /*@ApiParam(name = "姓名")
    private String name;

    @ApiParam(name = "性别")
    private String sex;

    @ApiParam(name = "年龄")
    private Integer age;

    @ApiParam(name = "梯队")
    private String echelon;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiParam(name = "出生日期")
    private Date birthday;

    @ApiParam(name = "证书编号")
    private String certificateNumber;

    @ApiParam(name = "身高")
    private Double height;

    @ApiParam(name = "坐高")
    private Double sitHigh;

    @ApiParam(name = "臂展")
    private Double armSpread;

    @ApiParam(name = "肩宽")
    private Double shoulderWidth;

    @ApiParam(name = "腿长")
    private Double legLength;

    @ApiParam(name = "小腿长")
    private Double tinyLegLength;

    @ApiParam(name = "胸围")
    private Double bust;

    @ApiParam(name = "臀围")
    private Double hipline;

    @ApiParam(name = "腰围")
    private Double waistline;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiParam(name = "参训时间")
    private Date trainingTime;

    @ApiParam(name = "技术等级")
    private String level;

    @ApiParam(name = "技术等级授予单位")
    private String ratingUnit;

    @ApiParam(name = "输送单位")
    private String conveyingUnit;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiParam(name = "创建时间")
    private Date ctime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiParam(name = "更新时间")
    private Date ltime;

    @ApiParam(name = "部门ID")
    private Integer deptid;

    @ApiParam(name = "头像地址")
    private String imgUrl;

    @ApiParam(name = "状态 1、正常 2、离队")
    private String status;

    @ApiParam(name = "学历 1、小学 2、初中 3、高中 4、大专 5、本科 6、硕士 7、博士 8、其他")
    private String education;

    public Sportsman getSportsman() {
        Sportsman sportsman = new Sportsman();
        sportsman.setName(this.name);
        sportsman.setSex(this.sex);
        sportsman.setAge(this.age);
        sportsman.setEchelon(this.echelon);
        sportsman.setBirthday(this.birthday);
        sportsman.setCertificateNumber(this.certificateNumber);
        sportsman.setHeight(this.height);
        sportsman.setSitHigh(this.sitHigh);
        sportsman.setArmSpread(this.armSpread);
        sportsman.setShoulderWidth(this.shoulderWidth);
        sportsman.setLegLength(this.legLength);
        sportsman.setTinyLegLength(this.tinyLegLength);
        sportsman.setBust(this.bust);
        sportsman.setHipline(this.hipline);
        sportsman.setWaistline(this.waistline);
        sportsman.setTrainingTime(this.trainingTime);
        sportsman.setLevel(this.level);
        sportsman.setRatingUnit(this.ratingUnit);
        sportsman.setConveyingUnit(this.conveyingUnit);
        sportsman.setCtime(this.ctime);
        sportsman.setLtime(this.ltime);
        sportsman.setDeptid(this.deptid);
        sportsman.setImgUrl(this.imgUrl);
        sportsman.setStatus(this.status);
        sportsman.setEducation(this.education);
        return sportsman;
    }

    @ApiParam(name = "卧推")
    private double benchPress;

    @ApiParam(name = "卧推理想值")
    private double benchPressIdeal;

    @ApiParam(name = "3分钟卧推25公斤）")
    private double benchPress25kg3m;

    @ApiParam(name = "3分钟卧推理想值（25公斤）")
    private double benchPress25kg3mIdeal;

    @ApiParam(name = "硬拉")
    private double hardPull;

    @ApiParam(name = "硬拉理想值")
    private double hardPullIdeal;

    @ApiParam(name = "卧拉")
    private double wola;

    @ApiParam(name = "卧拉理想值")
    private double wolaIdeal;

    @ApiParam(name = "3分钟卧拉（30公斤）")
    private double wola30kg3m;

    @ApiParam(name = "3分钟卧拉理想值（30公斤）")
    private double wola30kg3mIdeal;

    *//** 高翻 *//*
    @ApiParam(name = "高翻")
    private double highTurnover;

    *//** 高翻理想值 *//*
    @ApiParam(name = "高翻理想值")
    private double highTurnoverIdeal;

    *//** 深蹲 *//*
    @ApiParam(name = "深蹲")
    private double squat;

    *//** 深蹲理想值 *//*
    @ApiParam(name = "深蹲理想值")
    private double squatIdeal;

    *//** 3分钟收腹 *//*
    @ApiParam(name = "3分钟收腹")
    private int pullStomachs3m;

    *//** 3分钟收腹理想值 *//*
    @ApiParam(name = "3分钟收腹理想值")
    private int pullStomachs3mIdeal;

    *//** 3分钟深蹲(40公斤) *//*
    @ApiParam(name = "3分钟深蹲(40公斤)")
    private int squat40kg3m;

    *//** 3分钟深蹲理想值(40公斤) *//*
    @ApiParam(name = "3分钟深蹲理想值(40公斤)")
    private int squat40kg3mIdeal;

    *//** 腹肌耐力 *//*
    @ApiParam(name = "腹肌耐力")
    private int abdominalEndurance;

    *//** 腹肌耐力理想值 *//*
    @ApiParam(name = "腹肌耐力理想值")
    private int abdominalEnduranceIdeal;

    *//** 引体向上最大次数 *//*
    @ApiParam(name = "引体向上最大次数")
    private int pullUp;

    *//** 引体向上最大次数理想值 *//*
    @ApiParam(name = "引体向上最大次数理想值")
    private int pullUpIdeal;

    *//** 静力高架背肌 *//*
    @ApiParam(name = "静力高架背肌")
    private double staticElevatedDorsalMuscle;

    *//** 静力高架背肌理想值 *//*
    @ApiParam(name = "静力高架背肌理想值")
    private double staticElevatedDorsalMuscleIdeal;

    *//** 背肌耐力 *//*
    @ApiParam(name = "背肌耐力")
    private int backMuscleEndurance;

    *//** 背肌耐力理想值 *//*
    @ApiParam(name = "背肌耐力理想值")
    private int backMuscleEnduranceIdeal;

    *//** 垂直纵跳 *//*
    @ApiParam(name = "垂直纵跳")
    private double verticalJump;

    *//** 垂直纵跳理想值 *//*
    @ApiParam(name = "垂直纵跳理想值")
    private double verticalJumpIdeal;

    *//** 坐立体前屈 *//*
    @ApiParam(name = "坐立体前屈")
    private double anteflexion;

    *//** 坐立体前屈理想值 *//*
    @ApiParam(name = "坐立体前屈理想值")
    private double anteflexionIdeal;

    *//** 30米跑 *//*
    @ApiParam(name = "30米跑")
    private double run30m;

    *//** 30米跑理想值 *//*
    @ApiParam(name = "30米跑理想值")
    private double run30mIdeal;

    *//** 3000米跑 *//*
    @ApiParam(name = "3000米跑")
    private double run3000m;

    *//** 3000米跑理想值 *//*
    @ApiParam(name = "3000米跑理想值")
    private double run3000mIdeal;

    *//** 三级跳远 *//*
    @ApiParam(name = "三级跳远")
    private double threeStepJump;

    *//** 三级跳远理想值 *//*
    @ApiParam(name = "三级跳远理想值")
    private double threeStepJumpIdeal;

    *//** 体重 *//*
    @ApiParam(name = "体重")
    private double weight;

    public SportsmanPhysicalQuality getSportsmanPhysicalQuality(){
        SportsmanPhysicalQuality sportsmanPhysicalQuality = new SportsmanPhysicalQuality();
        sportsmanPhysicalQuality.setBenchPress(this.benchPress);
        sportsmanPhysicalQuality.setBenchPressIdeal(this.benchPressIdeal);
        sportsmanPhysicalQuality.setBenchPress25kg3m(this.benchPress25kg3m);
        sportsmanPhysicalQuality.setBenchPress25kg3mIdeal(this.benchPress25kg3mIdeal);
        sportsmanPhysicalQuality.setHardPull(this.hardPull);
        sportsmanPhysicalQuality.setHardPullIdeal(this.hardPullIdeal);
        sportsmanPhysicalQuality.setWola(this.wola);
        sportsmanPhysicalQuality.setWolaIdeal(this.wolaIdeal);
        sportsmanPhysicalQuality.setWola30kg3m(this.wola30kg3m);
        sportsmanPhysicalQuality.setWola30kg3mIdeal(this.wola30kg3mIdeal);
        sportsmanPhysicalQuality.setHighTurnover(this.highTurnover);
        sportsmanPhysicalQuality.setHighTurnoverIdeal(this.highTurnoverIdeal);
        sportsmanPhysicalQuality.setSquat(this.squat);
        sportsmanPhysicalQuality.setSquatIdeal(this.squatIdeal);
        sportsmanPhysicalQuality.setPullStomachs3m(this.pullStomachs3m);
        sportsmanPhysicalQuality.setPullStomachs3mIdeal(this.pullStomachs3mIdeal);
        sportsmanPhysicalQuality.setSquat40kg3m(this.squat40kg3m);
        sportsmanPhysicalQuality.setSquat40kg3mIdeal(this.squat40kg3mIdeal);
        sportsmanPhysicalQuality.setAbdominalEndurance(this.abdominalEndurance);
        sportsmanPhysicalQuality.setAbdominalEnduranceIdeal(this.abdominalEnduranceIdeal);
        sportsmanPhysicalQuality.setPullUp(this.pullUp);
        sportsmanPhysicalQuality.setPullUpIdeal(this.pullUpIdeal);
        sportsmanPhysicalQuality.setStaticElevatedDorsalMuscle(this.staticElevatedDorsalMuscle);
        sportsmanPhysicalQuality.setStaticElevatedDorsalMuscleIdeal(this.staticElevatedDorsalMuscleIdeal);
        sportsmanPhysicalQuality.setBackMuscleEndurance(this.backMuscleEndurance);
        sportsmanPhysicalQuality.setBackMuscleEnduranceIdeal(this.backMuscleEnduranceIdeal);
        sportsmanPhysicalQuality.setVerticalJump(this.verticalJump);
        sportsmanPhysicalQuality.setVerticalJumpIdeal(this.verticalJumpIdeal);
        sportsmanPhysicalQuality.setAnteflexion(this.anteflexion);
        sportsmanPhysicalQuality.setAnteflexionIdeal(this.anteflexionIdeal);
        sportsmanPhysicalQuality.setRun30m(this.run30m);
        sportsmanPhysicalQuality.setRun30mIdeal(this.run30mIdeal);
        sportsmanPhysicalQuality.setRun3000m(this.run3000m);
        sportsmanPhysicalQuality.setRun3000mIdeal(this.run3000mIdeal);
        sportsmanPhysicalQuality.setThreeStepJump(this.threeStepJump);
        sportsmanPhysicalQuality.setThreeStepJumpIdeal(this.threeStepJumpIdeal);
        sportsmanPhysicalQuality.setWeight(this.weight);
        return sportsmanPhysicalQuality;
    }
*/
}
